<template>
  <div>
   <p>结果：{{ brr }}</p>
   <button @click="btnFn">点击</button>
  </div>
</template>

<script>
export default {
  data() {
   return {
    arr:[1, 2, 3, 4, 5],
    brr:[]
   }
  },
  methods:{
   btnFn() {
    this.brr= [...this.arr],
    this.arr.push(100)
    console.log(this.brr);
   }
  }
}
</script>

<style>

</style>